package com.nb.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import java.util.List;

@Data
public class AssignDataScopeDTO {
    @NotNull(message = "角色ID不能为空")
    private Long roleId;
    private Integer dataScope; // 添加dataScope字段
    private List<Long> deptIds;
}
